home *** CD-ROM | disk | FTP | other *** search
-
-
-
- XXXXmmmmDDDDeeeeaaaaccccttttiiiivvvvaaaatttteeeePPPPrrrroooottttooooccccoooollll((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmDDDDeeeeaaaaccccttttiiiivvvvaaaatttteeeePPPPrrrroooottttooooccccoooollll((((3333XXXX))))
-
-
-
- NNNNAAAAMMMMEEEE
- _X_m_D_e_a_c_t_i_v_a_t_e_P_r_o_t_o_c_o_l - A VendorShell function that
- deactivates a protocol without removing it
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- #include <Xm/Xm.h>
- #include <Xm/Protocols.h>
-
- void XmDeactivateProtocol (sssshhhheeeellllllll,,,, pppprrrrooooppppeeeerrrrttttyyyy,,,, pppprrrroooottttooooccccoooollll)
- _W_i_d_g_e_t sssshhhheeeellllllll;
- _A_t_o_m pppprrrrooooppppeeeerrrrttttyyyy;
- _A_t_o_m pppprrrroooottttooooccccoooollll;
-
- _v_o_i_d _X_m_D_e_a_c_t_i_v_a_t_e_W_M_P_r_o_t_o_c_o_l (sssshhhheeeellllllll,,,, pppprrrroooottttooooccccoooollll)
- _W_i_d_g_e_t sssshhhheeeellllllll;
- _A_t_o_m pppprrrroooottttooooccccoooollll;
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- _X_m_D_e_a_c_t_i_v_a_t_e_P_r_o_t_o_c_o_l deactivates a protocol without removing
- it. It updates the handlers and the pppprrrrooooppppeeeerrrrttttyyyy, if the sssshhhheeeellllllll
- is realized. It is sometimes useful to allow a protocol's
- state information (callback lists, etc.) to persist, even
- though the client may choose to temporarily resign from the
- interaction. The main use of this capability is to
- gray/ungray _f._s_e_n_d__m_s_g entries in the Mwm system menu. This
- is supported by allowing a pppprrrroooottttooooccccoooollll to be in one of two
- states: active or inactive. If the pppprrrroooottttooooccccoooollll is active and
- the sssshhhheeeellllllll is realized, the pppprrrrooooppppeeeerrrrttttyyyy contains the pppprrrroooottttooooccccoooollll
- _A_t_o_m. If the pppprrrroooottttooooccccoooollll is inactive, the _A_t_o_m is not present
- in the pppprrrrooooppppeeeerrrrttttyyyy.
-
- _X_m_D_e_a_c_t_i_v_a_t_e_W_M_P_r_o_t_o_c_o_l is a convenience interface. It calls
- _X_m_D_e_a_c_t_i_v_a_t_e_P_r_o_t_o_c_o_l with the property value set to the atom
- returned by interning _W_M__P_R_O_T_O_C_O_L_S.
-
- sssshhhheeeellllllll
- Specifies the widget with which the protocol property
- is associated
-
- pppprrrrooooppppeeeerrrrttttyyyy
- Specifies the protocol property
-
- pppprrrroooottttooooccccoooollll
- Specifies the protocol atom (or an int type cast to
- Atom)
-
- For a complete definition of VendorShell and its associated
- resources, see _V_e_n_d_o_r_S_h_e_l_l(_3_X).
-
- RRRREEEELLLLAAAATTTTEEEEDDDD IIIINNNNFFFFOOOORRRRMMMMAAAATTTTIIIIOOOONNNN
- _m_w_m(_1_X), _V_e_n_d_o_r_S_h_e_l_l(_3_X), _X_m_D_e_a_c_t_i_v_a_t_e_W_M_P_r_o_t_o_c_o_l(_3_X), and
- _X_m_I_n_t_e_r_n_A_t_o_m(_3_X).
-
-
-
- Page 1 (printed 11/11/03)
-
-
-
-